<template>
    <el-table :data="data" stripe class="w-full" :default-sort="{ prop: 'PV', order: 'descending' }" :fit="true">
        <el-table-column type="index" label="序号" width="100" align="center" />
        <el-table-column prop="name" label="来源网站" align="center" />
        <el-table-column prop="PV" label="PV" sortable align="center" />
        <el-table-column prop="UV" label="UV" sortable align="center" />
        <el-table-column prop="IP" label="IP" sortable align="center" />
    </el-table>
</template>

<script setup lang="ts">
import { IRegion } from '@/api/sem/types'

defineProps<{
    data: IRegion[]
}>()

</script>

<style scoped></style>